package JaggSoft.Utilidades;

import JaggSoft.Principal;
import java.awt.event.*;

public class ManejadorEventoCerrarSesion implements ActionListener {
    private Principal ventana=null;
    public ManejadorEventoCerrarSesion(Principal v) {
        this.ventana=v;
    }
    @Override
    public void actionPerformed(ActionEvent e) {
        ventana.CerrarSesionBitacora();
        ventana.IniciarLogin();
    }
}